from flask import Flask, render_template

app = Flask(__name__)


@app.route('/')
def index():
    # 生成图表并将其保存为图片
    # 此处替换为你要生成的图表的代码
    return render_template('index.html', picturename="Login Devices of All Users.png")


if __name__ == '__main__':
    app.run()
